package cho00.test;

/**
 * Created by 春旺 on 2017/4/15.
 */
public class StringBuffer {
    public static void main(String [] args){
             StringBuffer buffer = new StringBuffer();
              buffer.append("S");
             buffer.append("tringBuffer");
              System.out.println(buffer.charAt(1));
               System.out.println(buffer.capacity());
               System.out.println(buffer.indexOf("tring"));
               System.out.println("buffer = " + buffer.toString());
          }

    private boolean indexOf(String tring) {
        return false;
    }

    private boolean capacity() {

        return false;
    }

    private boolean charAt(int i) {

        return false;
    }

    private void append(String s) {
    }
}
